#ifndef JPDATA
#define JPDATA
#include<QString>
#include<QVector>
#include <QTcpSocket>
typedef struct master_slavemap{
   QString masterip;
   int slavecount;
   QVector<QString> slaveip;
}MastSlaveMap;


typedef struct slave_mastermap{
   QString masterip;
   QString slaveip;
}SlaveMastMap;

typedef struct clientlist{
  QTcpSocket *socket;
  int alive;
  QString ip;
  quint16 port;
  int id;
}ClientList;
typedef struct inmapdata{
    long key;
    QByteArray value;
}InMapData;

#endif // JPDATA

